#!/bin/bash

for file in $(ls /etc); do  #将 /etc 下目录的文件名循环出来
    echo ${file}
done